//
//  GWConfigApiManager.m
//  OMCUVideo
//
//  Created by dvt04 on 2017/6/22.
//  Copyright © 2017年 sumavision. All rights reserved.
//

#import "GWConfigApiManager.h"

@interface GWConfigApiManager ()
@property (nonatomic, strong) GWConfigInfo *config;

@end

@implementation GWConfigApiManager

+ (GWConfigApiManager *)sharedManager
{
    static GWConfigApiManager *_configApiManager = nil;
    static dispatch_once_t onceToken;
    
    dispatch_once(&onceToken, ^{
        _configApiManager = [[GWConfigApiManager alloc]init];
    });
    
    return _configApiManager;
    
}

- (NSURLSessionDataTask *)request_Config_Success:(void (^)(NSURLSessionDataTask *task, GWConfigInfo *cofigInfo))ApiSuccessBlock failure:(void (^)(NSURLSessionDataTask *task, NSError *errorParse))ApiFailureBlock;
{
    
    NSMutableData *postBody = [NSMutableData data];
    

    NSURLSessionDataTask *task = [[GWBaseApiManager alloc]requestData_WithPost_ServerUrl:GWA7ServerUrl apiPath:@"GetConfig" withParams:nil withBodyParams:nil success:^(NSURLSessionDataTask *task, id data) {
        
    } failure:^(NSURLSessionDataTask *task, NSError *error) {
        
    }];
    return task;
}

@end
